package cn.iocoder.yudao.module.trade.controller.app.order2.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 套餐订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PackageOrderRespVO {

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30207")
    @ExcelProperty("订单编号")
    private Long id;

    @Schema(description = "订单流水号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单流水号")
    private String no;

    @Schema(description = "订单类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("订单类型")
    private Integer type;

    @Schema(description = "订单来源终端", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单来源终端")
    private Integer terminal;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23274")
    @ExcelProperty("用户编号")
    private Long userId;

    @Schema(description = "用户 IP", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("用户 IP")
    private String userIp;

    @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("订单状态")
    private Integer status;

    @Schema(description = "取消类型", example = "2")
    @ExcelProperty("取消类型")
    private Integer cancelType;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "是否评价", example = "1")
    @ExcelProperty("是否评价")
    private Boolean commentStatus;

    @Schema(description = "订单金额（总），单位：元", requiredMode = Schema.RequiredMode.REQUIRED, example = "9248")
    @ExcelProperty("订单金额（总），单位：元")
    private Integer payPrice;

    @Schema(description = "售后状态", example = "1")
    @ExcelProperty("售后状态")
    private Integer refundStatus;

    @Schema(description = "退款金额，单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "27686")
    @ExcelProperty("退款金额，单位：分")
    private Integer refundPrice;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}